-- 模拟产生错误，将错误上报到服务器

PROJECT = "errDumpTest"
VERSION = "1.0.0"

require "sys"
require "net"
require "log"
LOG_LEVEL = log.LOGLEVEL_TRACE
log.openTrace(true,nil,115200)

require "errDump"
errDump.request("udp://www.gxzniot.com:9595", 1000)

errDump.appendErr("request test!")


sys.init(0, 0)
sys.run()
